package com.linfnn.demo.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "disease") // 指定数据库表名
public class Disease implements Serializable {
    @TableField("diseaseCode")
    @TableId
    private String diseaseCode;
    @TableField("diseaseName")
    private String diseaseName;
    @TableField("symptoms")
    private String symptoms;
    @TableField("possibleCauses")
    private String possibleCauses;
    @TableField("commonPopulation")
    private String commonPopulation;
    @TableField("preventionMeasures")
    private String preventionMeasures;
    @TableField("treatmentMethods")
    private String treatmentMethods;
    @TableField("treatmentPeriod")
    private String treatmentPeriod;
    @TableField("remarks")
    private String remarks;
    // getters and setters
}

